import java.util.Random;

public class Bool {
    public static void main(String[] args) {
        boolean b1 = true;
        boolean b2 = false;
        System.out.println("b1 && b2: " + (b1 && b2));
        System.out.println("b1 || b2: " + (b1 || b2));
        System.out.println("!b1: " + !b1);
        System.out.println("!b2: " + !b2);


        Random random = new Random();
        int i = random.nextInt(100);
        int j = random.nextInt(100);
        System.out.printf("i: %d, j: %d, i<j: %b", i, j, i < j);

//        System.out.println(i && j); // error, cannot use && with int
//        System.out.println(i || j);  // // error, cannot use || with int
    }
}
